package com.xindaoapp.happypet.api;

import java.util.ArrayList;
import java.util.List;

import org.apache.http.client.CookieStore;

import android.net.Uri;

import com.xindaoapp.happypet.R;
import com.xindaoapp.happypet.bean.ClubC;

public class ConstantsValue {
    public static boolean islongclick = false;

    public static boolean ISUPLOADSUCCESS = false;
    public static Uri uri;
    public static Uri uri2;
    public static String REGISTERNAME = "";
    public static String REGISTERPSW = "";
    public static CookieStore cookieStore;

    /**
     * QQ登录的信息
     */
    // public static QQInfo info = null;
    // public static boolean loginByQQ = false;
    // public static boolean loginBySina = false;
    // public static boolean loginByLee = false;
    // public static Bundle sina = null;

    /**
     * 判断用户是否登录的Boolean值
     */
    // public static boolean isLogin = false;
    /**
     * 用户的用户名
     */
    // public static String uid = "";
    // public static User user;

    // public static User getUser() {
    // return user;
    // }
    //
    // public static void setUser(User user) {
    // ConstantsValue.user = user;
    // }

    public static String[] fidwxr = new String[] {"47", "319", "185", "386", "141", "377", "133",
            "138", "195", "7", "299", "142", "184", "318", "57", "66", "186", "49", "94", "139",
            "320", "247", "588", "589", "496"};
    public static String[] snamewxr = new String[] {"金毛", "萨摩耶", "贵宾/泰迪", "柴犬", "喜乐蒂", "贝灵顿",
            "哈士奇", "拉布拉多", "边牧", "雪纳瑞", "约克夏", "比熊", "博美", "串串", "苏牧", "比格", "吉娃娃", "德国牧羊犬", "松狮",
            "巴哥犬", "阿拉斯加", "柯基", "腊肠", "西高地白梗", "其它狗狗",};
    public static String[] lnamewxr = new String[] {"金毛俱乐部", "萨摩耶俱乐部", "贵宾/泰迪俱乐部", "柴犬俱乐部",
            "喜乐蒂俱乐部", "贝灵顿俱乐部", "哈士奇俱乐部", "拉布拉多俱乐部", "边牧俱乐部", "雪纳瑞俱乐部", "约克夏俱乐部", "比熊俱乐部", "博美俱乐部",
            "串串俱乐部", "苏牧俱乐部", "比格俱乐部", "吉娃娃俱乐部", "德国牧羊犬俱乐部", "松狮俱乐部", "巴哥犬俱乐部", "阿拉斯加俱乐部", "柯基俱乐部",
            "腊肠俱乐部", "西高地白梗俱乐部", "其它狗狗",};
    public static int[] iconwxr = new int[] {R.drawable.dog47, R.drawable.dog319,
            R.drawable.dog185, R.drawable.dog386, R.drawable.dog141, R.drawable.dog377,
            R.drawable.dog133, R.drawable.dog138, R.drawable.dog195, R.drawable.dog7,
            R.drawable.dog299, R.drawable.dog142, R.drawable.dog184, R.drawable.dog318,
            R.drawable.dog57, R.drawable.dog66, R.drawable.dog186, R.drawable.dog49,
            R.drawable.dog94, R.drawable.dog139, R.drawable.dog320, R.drawable.dog247,
            R.drawable.dog588, R.drawable.dog589, R.drawable.dog496,};
    public static String[] fidmxr = new String[] {"341", "343", "339", "342", "477", "337", "568",
            "336"};
    public static String[] snamemxr = new String[] {"美短", "英短", "异短", "折耳", "暹罗猫", "波斯猫", "其他纯种猫",
            "土猫",};
    public static String[] lnamemxr = new String[] {"美短俱乐部", "英短俱乐部", "异短俱乐部", "折耳俱乐部", "暹罗猫俱乐部",
            "波斯猫俱乐部", "纯种猫俱乐部", "土猫俱乐部",};
    public static int[] iconmxr = new int[] {R.drawable.cat343, R.drawable.cat341,
            R.drawable.cat339, R.drawable.cat342, R.drawable.cat477, R.drawable.cat337,
            R.drawable.cat568, R.drawable.cat336};

    public static String[] fidsz = new String[] {"580", "581", "582", "323", "324", "325", "326",
            "328", "330"};
    public static String[] snamesz = new String[] {"造景", "海洋", "淡水", "金鱼", "锦鲤", "龙鱼", "罗汉鱼",
            "神仙鱼", "斗鱼"};
    public static String[] lnamesz = new String[] {"造景俱乐部", "海洋俱乐部", "淡水俱乐部", "金鱼俱乐部", "锦鲤俱乐部",
            "龙鱼俱乐部", "罗汉鱼俱乐部", "神仙鱼俱乐部", "斗鱼俱乐部"};
    public static int[] iconsz = new int[] {R.drawable.sz580, R.drawable.sz581, R.drawable.sz582,
            R.drawable.sz323, R.drawable.sz324, R.drawable.sz325, R.drawable.sz326,
            R.drawable.sz328, R.drawable.sz330};
    public static String[] fidxc = new String[] {"585", "584", "322", "346", "583", "586", "420"};
    public static String[] snamexc = new String[] {"鸟类", "仓鼠", "爬宠", "兔子", "龙猫", "两栖", "420"};
    public static String[] lnamexc = new String[] {"鸟类俱乐部", "仓鼠俱乐部", "爬宠俱乐部", "兔子俱乐部", "龙猫俱乐部",
            "两栖俱乐部", "420"};
    public static int[] iconxc = new int[] {R.drawable.xc585, R.drawable.xc584, R.drawable.xc322,
            R.drawable.xc346, R.drawable.xc583, R.drawable.xc586, R.drawable.icon};

    // 火热
    public static String[] fidhr = new String[] {"422", "532", "558",};
    public static String[] snamehr = new String[] {"网站活动", "新手学堂", "淘宝晒单"};
    public static String[] lnamehr = new String[] {"网站活动", "新手学堂", "淘宝晒单"};
    public static int[] iconhr = new int[] {R.drawable.huore422, R.drawable.huore532,
            R.drawable.huore558,};
    // 地方
    public static String[] fidlocation = new String[] {"13", "59", "489", "561", "587", "404"};
    public static String[] snamelocation = new String[] {"北京", "上海", "大连", "广州", "深圳", "各地"};
    public static String[] lnamelocation = new String[] {"北京俱乐部", "上海俱乐部", "大连俱乐部", "广州俱乐部",
            "深圳俱乐部", "各地俱乐部"};
    public static int[] iconlocation = new int[] {R.drawable.location13, R.drawable.location59,
            R.drawable.location489, R.drawable.location561, R.drawable.location587,
            R.drawable.location404};
    // 综合
    public static String[] fidall = new String[] {"562", "278", "315", "474", "473", "391", "486",
            "292", "158"};
    public static String[] snameall = new String[] {"求医问药", "宠物美容", "狗狗训练", "公益领养", "寻宠招领", "宁静天堂",
            "商家服务", "赛事展会", "宠物市场"};
    public static String[] lnameall = new String[] {"求医问药", "宠物美容", "狗狗训练", "公益领养", "寻宠招领", "宁静天堂",
            "商家服务", "赛事展会", "宠物市场"};
    public static int[] iconall = new int[] {R.drawable.all562, R.drawable.all278,
            R.drawable.all315, R.drawable.all474, R.drawable.all473, R.drawable.all391,
            R.drawable.all486, R.drawable.all292, R.drawable.all158};

    public static List<ClubC> getWxrInfo() {
        List<ClubC> wxr = new ArrayList<ClubC>();
        for (int i = 0; i < fidwxr.length; i++) {
            wxr.add(new ClubC(fidwxr[i], snamewxr[i], lnamewxr[i], iconwxr[i], "2"));
        }
        return wxr;
    }

    public static List<ClubC> getMxrInfo() {
        List<ClubC> mxr = new ArrayList<ClubC>();
        for (int i = 0; i < fidmxr.length; i++) {
            mxr.add(new ClubC(fidmxr[i], snamemxr[i], lnamemxr[i], iconmxr[i], "3"));
        }
        return mxr;
    }

    public static List<ClubC> getSzInfo() {
        List<ClubC> sz = new ArrayList<ClubC>();
        for (int i = 0; i < fidsz.length; i++) {
            sz.add(new ClubC(fidsz[i], snamesz[i], lnamesz[i], iconsz[i], "4"));
        }
        return sz;
    }

    public static List<ClubC> getXcInfo() {
        List<ClubC> xc = new ArrayList<ClubC>();
        for (int i = 0; i < fidxc.length; i++) {
            xc.add(new ClubC(fidxc[i], snamexc[i], lnamexc[i], iconxc[i], "572"));
        }
        return xc;
    }

    public static List<ClubC> getHrInfo() {
        List<ClubC> hr = new ArrayList<ClubC>();
        for (int i = 0; i < fidhr.length; i++) {
            hr.add(new ClubC(fidhr[i], snamehr[i], lnamehr[i], iconhr[i], "545"));
        }
        return hr;
    }

    public static List<ClubC> getLocationInfo() {
        List<ClubC> location = new ArrayList<ClubC>();
        for (int i = 0; i < fidlocation.length; i++) {
            location.add(new ClubC(fidlocation[i], snamelocation[i], lnamelocation[i],
                    iconlocation[i], "1"));
        }
        return location;
    }

    public static List<ClubC> getAllInfo() {
        List<ClubC> all = new ArrayList<ClubC>();
        for (int i = 0; i < fidall.length; i++) {
            all.add(new ClubC(fidall[i], snameall[i], lnameall[i], iconall[i], "544"));
        }
        return all;
    }

    /**
     * 注销成功的广播
     */
    public static String LOGOUT_SUCCESS = "logout_success";
    /**
     * 接收到通知
     */
    // public static String RECEIVED_NOTICE = "received_notice";
    /**
     * 清理标记的广播
     */
    // public static String CLEAR_POINT = "clear_point";
    /**
     * 清理主页标记
     */
    // public static String CLEAR_MAIN_POINT = "clear_main_point";
    /**
     * 加入获取成功的广播
     */
    public static String JOIN_ACTIVITY_SUCCESS = "join_activity_success";
    /**
     * 是否有私信
     */
    public static boolean HAS_LETTER = false;
    /**
     * 是否有回复
     */
    public static boolean HAS_MESSAGE = false;


}
